/*
 * Copyright 2021 NXP
 * SPDX-License-Identifier: MIT
 */

#include "lvgl/lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
// #include "custom.h"


void setup_scr_screen(lv_ui *ui){

	//Write codes screen
	ui->screen = lv_obj_create(NULL, NULL);

	//Write codes screen_back_image
	ui->screen_back_image = lv_img_create(ui->screen, NULL);

	//Write style LV_IMG_PART_MAIN for screen_back_image
	static lv_style_t style_screen_back_image_main;
	lv_style_reset(&style_screen_back_image_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_back_image_main
	lv_style_set_image_recolor(&style_screen_back_image_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_image_recolor_opa(&style_screen_back_image_main, LV_STATE_DEFAULT, 0);
	lv_style_set_image_opa(&style_screen_back_image_main, LV_STATE_DEFAULT, 255);
	lv_obj_add_style(ui->screen_back_image, LV_IMG_PART_MAIN, &style_screen_back_image_main);
	lv_obj_set_pos(ui->screen_back_image, 0, 0);
	lv_obj_set_size(ui->screen_back_image, 320, 240);
	lv_obj_set_click(ui->screen_back_image, true);
	lv_img_set_src(ui->screen_back_image,&_template_alpha_320x240);
	lv_img_set_pivot(ui->screen_back_image, 0,0);
	lv_img_set_angle(ui->screen_back_image, 0);

	//Write codes screen_Min_L
	ui->screen_Min_L = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_Min_L, "0");
	lv_label_set_long_mode(ui->screen_Min_L, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_Min_L, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_Min_L
	static lv_style_t style_screen_Min_L_main;
	lv_style_reset(&style_screen_Min_L_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Min_L_main
	lv_style_set_radius(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_Min_L_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_Min_L_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_Min_L_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_Min_L_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_screen_Min_L_main, LV_STATE_DEFAULT, &lv_font_montserratMedium_48);
	lv_style_set_text_letter_space(&style_screen_Min_L_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_Min_L_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_Min_L, LV_LABEL_PART_MAIN, &style_screen_Min_L_main);
	lv_obj_set_pos(ui->screen_Min_L, 170, 60);
	lv_obj_set_size(ui->screen_Min_L, 100, 0);

	//Write codes screen_Min_H
	ui->screen_Min_H = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_Min_H, "0");
	lv_label_set_long_mode(ui->screen_Min_H, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_Min_H, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_Min_H
	static lv_style_t style_screen_Min_H_main;
	lv_style_reset(&style_screen_Min_H_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Min_H_main
	lv_style_set_radius(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_Min_H_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_Min_H_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_Min_H_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_Min_H_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_screen_Min_H_main, LV_STATE_DEFAULT, &lv_font_montserratMedium_48);
	lv_style_set_text_letter_space(&style_screen_Min_H_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_Min_H_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_Min_H, LV_LABEL_PART_MAIN, &style_screen_Min_H_main);
	lv_obj_set_pos(ui->screen_Min_H, 140, 60);
	lv_obj_set_size(ui->screen_Min_H, 100, 0);

	//Write codes screen_Hour_L
	ui->screen_Hour_L = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_Hour_L, "0");
	lv_label_set_long_mode(ui->screen_Hour_L, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_Hour_L, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_Hour_L
	static lv_style_t style_screen_Hour_L_main;
	lv_style_reset(&style_screen_Hour_L_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Hour_L_main
	lv_style_set_radius(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_Hour_L_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_Hour_L_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_Hour_L_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_Hour_L_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_screen_Hour_L_main, LV_STATE_DEFAULT, &lv_font_montserratMedium_48);
	lv_style_set_text_letter_space(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_Hour_L_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_Hour_L, LV_LABEL_PART_MAIN, &style_screen_Hour_L_main);
	lv_obj_set_pos(ui->screen_Hour_L, 70, 60);
	lv_obj_set_size(ui->screen_Hour_L, 100, 0);

	//Write codes screen_Hour_H
	ui->screen_Hour_H = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_Hour_H, "0");
	lv_label_set_long_mode(ui->screen_Hour_H, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_Hour_H, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_Hour_H
	static lv_style_t style_screen_Hour_H_main;
	lv_style_reset(&style_screen_Hour_H_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Hour_H_main
	lv_style_set_radius(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_Hour_H_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_Hour_H_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_Hour_H_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_Hour_H_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_screen_Hour_H_main, LV_STATE_DEFAULT, &lv_font_montserratMedium_48);
	lv_style_set_text_letter_space(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_Hour_H_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_Hour_H, LV_LABEL_PART_MAIN, &style_screen_Hour_H_main);
	lv_obj_set_pos(ui->screen_Hour_H, 40, 60);
	lv_obj_set_size(ui->screen_Hour_H, 100, 0);

	//Write codes screen_Dot_1
	ui->screen_Dot_1 = lv_led_create(ui->screen, NULL);

	//Write style LV_LED_PART_MAIN for screen_Dot_1
	static lv_style_t style_screen_Dot_1_main;
	lv_style_reset(&style_screen_Dot_1_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Dot_1_main
	lv_style_set_radius(&style_screen_Dot_1_main, LV_STATE_DEFAULT, 1);
	lv_style_set_bg_color(&style_screen_Dot_1_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_bg_grad_color(&style_screen_Dot_1_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0xa1, 0xb5));
	lv_style_set_bg_grad_dir(&style_screen_Dot_1_main, LV_STATE_DEFAULT, LV_GRAD_DIR_NONE);
	lv_style_set_bg_opa(&style_screen_Dot_1_main, LV_STATE_DEFAULT, 255);
	lv_style_set_shadow_color(&style_screen_Dot_1_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_shadow_width(&style_screen_Dot_1_main, LV_STATE_DEFAULT, 1);
	lv_style_set_border_color(&style_screen_Dot_1_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_border_width(&style_screen_Dot_1_main, LV_STATE_DEFAULT, 0);
	lv_style_set_border_opa(&style_screen_Dot_1_main, LV_STATE_DEFAULT, 255);
	lv_obj_add_style(ui->screen_Dot_1, LV_LED_PART_MAIN, &style_screen_Dot_1_main);
	lv_obj_set_pos(ui->screen_Dot_1, 155, 70);
	lv_obj_set_size(ui->screen_Dot_1, 5, 5);
	lv_led_set_bright(ui->screen_Dot_1, 100);

	//Write codes screen_Dot_2
	ui->screen_Dot_2 = lv_led_create(ui->screen, NULL);

	//Write style LV_LED_PART_MAIN for screen_Dot_2
	static lv_style_t style_screen_Dot_2_main;
	lv_style_reset(&style_screen_Dot_2_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Dot_2_main
	lv_style_set_radius(&style_screen_Dot_2_main, LV_STATE_DEFAULT, 1);
	lv_style_set_bg_color(&style_screen_Dot_2_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_bg_grad_color(&style_screen_Dot_2_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0xa1, 0xb5));
	lv_style_set_bg_grad_dir(&style_screen_Dot_2_main, LV_STATE_DEFAULT, LV_GRAD_DIR_NONE);
	lv_style_set_bg_opa(&style_screen_Dot_2_main, LV_STATE_DEFAULT, 255);
	lv_style_set_shadow_color(&style_screen_Dot_2_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_shadow_width(&style_screen_Dot_2_main, LV_STATE_DEFAULT, 1);
	lv_style_set_border_color(&style_screen_Dot_2_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_border_width(&style_screen_Dot_2_main, LV_STATE_DEFAULT, 0);
	lv_style_set_border_opa(&style_screen_Dot_2_main, LV_STATE_DEFAULT, 255);
	lv_obj_add_style(ui->screen_Dot_2, LV_LED_PART_MAIN, &style_screen_Dot_2_main);
	lv_obj_set_pos(ui->screen_Dot_2, 155, 90);
	lv_obj_set_size(ui->screen_Dot_2, 5, 5);
	lv_led_set_bright(ui->screen_Dot_2, 100);

	//Write codes screen_City
	ui->screen_City = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_City, "");
	lv_label_set_long_mode(ui->screen_City, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_City, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_City
	static lv_style_t style_screen_City_main;
	lv_style_reset(&style_screen_City_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_City_main
	lv_style_set_radius(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_City_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_City_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_City_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_City_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_City_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_City_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_City, LV_LABEL_PART_MAIN, &style_screen_City_main);
	lv_obj_set_pos(ui->screen_City, 5, 124);
	lv_obj_set_size(ui->screen_City, 150, 0);

	//Write codes screen_Template
	ui->screen_Template = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_Template, "");
	lv_label_set_long_mode(ui->screen_Template, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_Template, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_Template
	static lv_style_t style_screen_Template_main;
	lv_style_reset(&style_screen_Template_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_Template_main
	lv_style_set_radius(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_Template_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_Template_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_Template_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_Template_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_Template_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_Template_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_Template, LV_LABEL_PART_MAIN, &style_screen_Template_main);
	lv_obj_set_pos(ui->screen_Template, 5, 180);
	lv_obj_set_size(ui->screen_Template, 120, 0);

	//Write codes screen_weather
	ui->screen_weather = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_weather, "");
	lv_label_set_long_mode(ui->screen_weather, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_weather, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_weather
	static lv_style_t style_screen_weather_main;
	lv_style_reset(&style_screen_weather_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_weather_main
	lv_style_set_radius(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_weather_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_weather_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_weather_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_weather_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_weather_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_weather_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_weather, LV_LABEL_PART_MAIN, &style_screen_weather_main);
	lv_obj_set_pos(ui->screen_weather, 152, 124);
	lv_obj_set_size(ui->screen_weather, 100, 0);

	//Write codes screen_humidity
	ui->screen_humidity = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_humidity, "");
	lv_label_set_long_mode(ui->screen_humidity, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_humidity, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_humidity
	static lv_style_t style_screen_humidity_main;
	lv_style_reset(&style_screen_humidity_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_humidity_main
	lv_style_set_radius(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_humidity_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_humidity_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_humidity_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_humidity_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_humidity_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_humidity_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_humidity, LV_LABEL_PART_MAIN, &style_screen_humidity_main);
	lv_obj_set_pos(ui->screen_humidity, 120, 180);
	lv_obj_set_size(ui->screen_humidity, 120, 0);

	//Write codes screen_wind_direction
	ui->screen_wind_direction = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_wind_direction, "");
	lv_label_set_long_mode(ui->screen_wind_direction, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_wind_direction, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_wind_direction
	static lv_style_t style_screen_wind_direction_main;
	lv_style_reset(&style_screen_wind_direction_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_wind_direction_main
	lv_style_set_radius(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_wind_direction_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_wind_direction_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_wind_direction_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_wind_direction_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_wind_direction_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_wind_direction, LV_LABEL_PART_MAIN, &style_screen_wind_direction_main);
	lv_obj_set_pos(ui->screen_wind_direction, 232, 180);
	lv_obj_set_size(ui->screen_wind_direction, 80, 0);

	//Write codes screen_DisConnect
	ui->screen_DisConnect = lv_label_create(ui->screen, NULL);
	lv_label_set_text(ui->screen_DisConnect, "");
	lv_label_set_long_mode(ui->screen_DisConnect, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->screen_DisConnect, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for screen_DisConnect
	static lv_style_t style_screen_DisConnect_main;
	lv_style_reset(&style_screen_DisConnect_main);

	//Write style state: LV_STATE_DEFAULT for style_screen_DisConnect_main
	lv_style_set_radius(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_screen_DisConnect_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_screen_DisConnect_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_screen_DisConnect_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_style_set_text_color(&style_screen_DisConnect_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_letter_space(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_screen_DisConnect_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->screen_DisConnect, LV_LABEL_PART_MAIN, &style_screen_DisConnect_main);
	lv_obj_set_pos(ui->screen_DisConnect, 51, 9);
	lv_obj_set_size(ui->screen_DisConnect, 210, 0);
}